home *** CD-ROM | disk | FTP | other *** search
-
- /* HPP-Gas by an idea of Toffoli, in CAMRexx by THOR */
-
- MakeAlgorithm:
- if plane=0 then
- PLANEALGORITHM margolus hvphases
- if plane=1 then
- PLANEALGORITHM echo center1
- return
-
- MakePlane:
- if plane=0 then; do
- lens=ul_ | ur_ | ll_ | lr_
- if lens & phase_ then
- SETPLANE center
- else; do
- if (center=opp & cw=ccw & center~=cw) then
- SETPLANE cw
- else SETPLANE opp
- end
- end
- return
-
-